package com.zpp.system.domain.sysuser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 *新增管理员用户类
 */

@Data
public class SysUserSaveDTO {
    @Schema(description = "用户账号")
    @NotBlank(message = "⽤户账号不能为空")
    private String userAccount;

    @Schema(description = "用户昵称")
    @NotBlank(message = "用户昵称不能为空")
    private String nickName;

    @Schema(description = "用户密码")
    @NotBlank(message = "⽤户密码不能为空")
    private String password;
}
